package dao;

import entity.Pet;
import org.springframework.stereotype.Repository;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/11/29  11:31
 */
@Repository("petDaoOracle")
public class PetDaoOracleImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        //此处模拟插入数据
        System.out.println("将宠物“"+pet.getName()+"”插入到Oracle数据库");
        return 1;
    }
}
